package com.wangxiaonan.berry.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * Parameter invalid Exception 请求参数异常
 *
 * @Author: wangxiaonan
 * @Date: 2018/12/28
 **/
@ResponseStatus(code = HttpStatus.BAD_REQUEST)
public class ParamValidationException extends SystemException {

    private static final long serialVersionUID = 3221770359196462799L;

    public ParamValidationException() {
        super();
    }

    public ParamValidationException(String message) {
        super(message);
    }

    public ParamValidationException(String message, Throwable cause) {
        super(message, cause);
    }

    public ParamValidationException(Throwable cause) {
        super(cause);
    }
}
